#include "match.h"

int main()
{
    int table1[10]={1,2,3,4,5,6,7,8,9,10};
	int table2[10]={11,22,33,44,55,66,77,88,99,100};
	int table3[10]={10,10,10,10,10,10,10,10,10,10};
	int table4[10]={20,30,1,2,4,6,8,9,5,15};
	Match *pm1=new Match;
	Match *pm2=new Match;
	pm1->change(100,10,1,table1);
	pm2->change(99,10,2,table2);
	conclu(*pm1,*pm2);
	Score *ps1=new Score;
	ps1->perscore(100,10,1,table1,table3);
	Score *ps2=new Score;
	ps2->perscore(99,10,2,table2,table4);
	delete ps1;
	Match match1(*pm1);
	Match match2(*pm2);
	Group g(*pm1,*pm2);
	Group gg(g);
	Print p;
	p.compare(*pm1,*pm2);
	pm1->showcount();
	pm2->showcount();
	delete pm1;
	delete pm2;
	return 0;
}